package se.teamscape.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class RpcStartedEvent extends GwtEvent<RpcStartedEventHandler> {
    public static Type<RpcStartedEventHandler> TYPE = new Type<RpcStartedEventHandler>();

    public RpcStartedEvent() {
    }

    @Override
    public Type<RpcStartedEventHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(RpcStartedEventHandler handler) {
        handler.onRpcStarted();
    }
}
